package org.xm.sk.vo.ob;

import org.xm.sk.vo.e.Gender;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@ApiModel(value = "WxUserInfo", description = "微信用户附加信息")
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
public class WxUserInfo {
    
    @ApiModelProperty(value = "用户ID")
    Integer id;
    
    @ApiModelProperty(value = "头像图片URL")
    String imageUrl;
    
    @ApiModelProperty(value = "用户伲名")
    String nickname;
    
    @ApiModelProperty(value = "用户性别")
    private Gender gender = Gender.MAN;
    
    @ApiModelProperty(value = "使用语言")
    private String language;
    
    @ApiModelProperty(value = "所在城市")
    private String city;
    
    @ApiModelProperty(value = "所在省州")
    String province;
    
    @ApiModelProperty(value = "所在国籍")
    private String country;
    
    @ApiModelProperty(value = "敏感信息密文")
    private String encData;
    
    @ApiModelProperty(value = "解密向量")
    private String iv;
    
}
